package com.xgkj.diyiketang.activity;

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import android.widget.TextView;

import com.xgkj.diyiketang.R;

/**
 * Created by XCKJ_Paladowow on 2016/3/28.
 */
public class XieYiActivity extends BaseActivity {
    private Context mContext;
    private WebView xieyi;
    private TextView back;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.xieyi);
        mContext = this;
        initView();
    }

    private void initView(){
        xieyi = (WebView) findViewById(R.id.xieyi);
        xieyi.loadUrl("http://www.chiboker.com:8096/liveshow/useragreement.htm");
        back = (TextView) findViewById(R.id.back);
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }
}
